<template>
  <div class="pdfObject">
    <div id="pdf_viewer">{{ supportsPDFs }}</div>
  </div>
</template>

<script>
import { jsPDF } from "jspdf";
export default {
  name: "vuefullPage",
  components: {},
  data() {
    return {
      pdfurl:
        "https://aaeasy-file.newbanker.cn/pic/testforyuhan/裴士杰的专属报告_2021-11-02_11_17_21.pdf",
      supportsPDFs: "",
    };
  },
  created() {},
  components: {},
  mounted() {
    const doc = new jsPDF();

    doc.text("Hello world!", 10, 10);
    doc.save(this.pdfurl);
  },
  watch: {},
  methods: {},
};
</script>

<style scoped lang="less">
.pdfobject-container {
  width: 100%;
  height: 500px;
}

.pdfobject {
  border: 1px solid #666;
}
</style>
